package cz.anime.ppro.repositories;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cz.anime.ppro.model.Message;

public interface MessageRepository extends JpaRepository<Message, Integer> {
	
	public List<Message> findMessageByWebuser1Id(int id);
	
	public List<Message> findMessageByWebuser2Id(int id);
	
}
